{% extends "base.html" %}

{% block content %}
    <div class="auth">
        <h2>Sign in to view user analytics</h2>
        <form method="post" action="{% url 'account_login' %}" id="login">
            {% csrf_token %}
            <input name="login" type="text" placeholder="Username (admin)" value="admin" />
            <input name="password" type="password" placeholder="Password (admin)" value="admin" />
            {% if redirect_field_value %}
                <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
            {% endif %}
            <p>you can just hit login :)</p>
            <button class="primary" type="submit">Login</button>
        </form>
    </div>
{% endblock %}
